ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / Bitmap Class / Bitmap Constructor / Bitmap Constructor(Int32,Int32,Int32,BitsPerPixel,Byte[])
The width, in pixels, of the new Bitmap object.
The height, in pixels, of the new Bitmap object.
Specifies the number of planes for the target device. This value must be set to 1.
The number of bits required to identify the color of a single pixel.
The pattern data array.

In This Topic
    Bitmap Constructor(Int32,Int32,Int32,BitsPerPixel,Byte[])
    In This Topic
    Intializes a new instance of the Bitmap class with the specified size color format (color planes and bits-per-pixel).
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal width As Integer, _
       ByVal height As Integer, _
       ByVal planes As Integer, _
       ByVal bitsPerPixel As BitsPerPixel, _
       ByVal data() As Byte _
    )

    Parameters

    width
    The width, in pixels, of the new Bitmap object.
    height
    The height, in pixels, of the new Bitmap object.
    planes
    Specifies the number of planes for the target device. This value must be set to 1.
    bitsPerPixel
    The number of bits required to identify the color of a single pixel.
    data
    The pattern data array.
    See Also